package com.dense.kuiniu.shelfcard.entity;


import com.dense.kuiniu.shelfcard.utils.search.SearchAble;

/**
 * @author Administrator
 * @date 2020/8/18
 */
public class Library implements SearchAble {
    private String code;
    private String name;

    public Library() {
    }

    public Library(String libraryCode, String name) {
        this.code = libraryCode;
        this.name = name;
    }

    public String getLibraryCode() {
        return code;
    }

    public void setLibraryCode(String libraryCode) {
        this.code = libraryCode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return name;
    }

    @Override
    public String getSearchKey() {
        return code;
    }
}